package com.yxy.ms.manager.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.pagehelper.Page;
import com.yxy.ms.manager.dao.BillRecordMapper;
import com.yxy.ms.manager.dao.BillTempMapper;
import com.yxy.ms.manager.entity.po.BillRecord;
import com.yxy.ms.manager.entity.po.BillTemp;
import com.yxy.ms.manager.service.BillService;

@Service
public class BillServiceImpl implements BillService {

    @Autowired
    BillTempMapper billTempMapper;
    @Autowired
    BillRecordMapper billRecordMapper;

    @Override
    public Page<BillTemp> findAll(Map<String, Object> params) {
        return billTempMapper.findAll(params);
    }

    @Override
    public Page<BillRecord> findBillRecordList(Map<String, Object> params) {
        return billRecordMapper.findAll(params);
    }

}
